<script setup lang="ts">
import workerChoose from '@/components/workerChoose/workerChoose.vue'
import navBar from '@/components/navBar/navBar.vue'
import { onMounted, ref } from 'vue'
import { paramDecode } from '@/util/bussinessTool'
import { useRouter } from 'vue-router';
const worker = ref()
let projectId = ref(paramDecode().projectId)
onMounted(() => {
    worker.value.loadData()
    const route = useRouter()
    console.log(route)
})
</script>
<template>
    <div class="selectWorker">
        <navBar />
        <workerChoose ref="worker" :projectId="projectId"/>
    </div>
</template>
<style>
.selectWorker {
    height: calc(100vh - 46px);
}
</style>